package com.leo.guppao.strategy.impl;

import com.leo.guppao.strategy.IStrategy;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @author liusl
 * @date 2019/3/13-13:59
 */
@Component("vipMember")
public class VipMemberImpl implements IStrategy {
    @Override
    public BigDecimal calculatePrice() {
        return new BigDecimal("80");
    }
}
